Skip to content

Comments

Feature/issue 184/create sqlite database to store user information#204

Closed
Siyuan106 wants to merge 102 commits intodevfrom
feature/issue-184/create-sqlite-database-to-store-user-information
Closed

Feature/issue 184/create sqlite database to store user information#204
Siyuan106 wants to merge 102 commits intodevfrom
feature/issue-184/create-sqlite-database-to-store-user-information

Conversation

@Siyuan106
Copy link
Contributor

@Siyuan106 Siyuan106 commented Mar 3, 2025

Issue(s):

#184

Type of change: (choose required ones)

  • New feature

Description:

Added the database, changed some of the backend logic, combined username and userid into one variable, and readjusted the logic of creat chat, history, and sendmessage.

Additional context:

Cannot return initial messages correctly and in the chat history, the conversations between the AI and the User will be labeled as "system". We have changed some of the unit test codes for temporary.

Testing instructions:

Try register and login, and repeatedly test whether the account and password work (you can try closing and restarting the project to login with the previous account). Also, pay attention to whether the chat history is being saved.

Siyuan106 and others added 30 commits February 9, 2025 20:04
Add dependency for SQLite
Add code to implement db.
Change the local data to the database
Change the local data to the database

Co-authored-by: Siyuan106 <gr23994@bristol.ac.uk>
Co-authored-by: Siyuan106 <gr23994@bristol.ac.uk>
forget sendMessage
Add dependencies for sqlite.
Using SQLite database instead of local storage.
Liuwf4319 and others added 28 commits March 11, 2025 11:19
Co-authored-by: Siyuan106 <gr23994@bristol.ac.uk>
Co-authored-by: Siyuan106 <gr23994@bristol.ac.uk>
Co-authored-by: Siyuan106 <gr23994@bristol.ac.uk>
…information' of github.com:spe-uob/2024-AILearningTool into feature/issue-184/create-sqlite-database-to-store-user-information
@vladislav-k1
Copy link
Contributor

PR should be reopened after finishing the main code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Backend Issue relates to backend code. enhancement New feature or request Frontend Issue relates to frontend code.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature] Create SQLite database

5 participants